//
//  AppDelegate.m
//  AppTime
//
//  Created by 杨康 on 2017/12/23.
//  Copyright © 2017年 杨康. All rights reserved.
//

#import "AppDelegate.h"
#import "ViewController.h"
@interface AppDelegate ()

@end

@implementation AppDelegate

//2.启动程序
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    
    UINavigationController *nav=[[UINavigationController alloc]initWithRootViewController:[[ViewController alloc]init]];
    self.window.rootViewController=nav;
    
    
    
    return YES;
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
    
}


//3.home退出
- (void)applicationWillResignActive:(UIApplication *)application {
    
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
    
}




//4.重新点击 进入程序
- (void)applicationWillEnterForeground:(UIApplication *)application {
    
}




//5.程序将要退出结束
- (void)applicationWillTerminate:(UIApplication *)application {
    
}


@end
